package exo1;

public class CompteAction {
	private final double CREDIT;
	private final double DEPOTINIT;
	private String Nom;
	private final int numCompte;
	
	public CompteAction(String name, int nC){
		Nom = name;
		numCompte = nC;
		CREDIT = 5000;
		DEPOTINIT = 1000;
		
	}

	/**
	 * @return the cREDIT
	 */
	public double getCREDIT() {
		return CREDIT;
	}

	/**
	 * @return the dEPOTINIT
	 */
	public double getDEPOTINIT() {
		return DEPOTINIT;
	}

	/**
	 * @return the nom
	 */
	public String getNom() {
		return Nom;
	}

	/**
	 * @param nom the nom to set
	 */
	public void setNom(String nom) {
		Nom = nom;
	}

	/**
	 * @return the numCompte
	 */
	public int getNumCompte() {
		return numCompte;
	}

}
